﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RIMS.Lib.DataAccess.Interfaces;
using RIMS.Lib.DataAccess.Implementations;
using RIMS.Lib.Models;

namespace RIMS.Lib.Manager
{
    public class UserManager
    {
        IUserDAO _UserDAOLinq;

        public UserManager()
        {
            _UserDAOLinq = new UserDAOLinq();
        }

        public IList<User> GetAll()
        {
            return _UserDAOLinq.All();
        }

        public User PickyOID(Guid oid)
        {
            return _UserDAOLinq.PickByOID(oid);
        }
    }
}
